package com.xxx.corejava.day1021;

import java.util.Scanner;

public class Test2 {

    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);

        System.out.println("输入一个数字：");

        int num=sc.nextInt();

        System.out.println("num = " + num);

        System.out.println(num%2!=0?"奇数":"偶数");

    }




}
